g++ main.cpp rules.cpp logic.cpp -I/home/mayank/Desktop/mongo-cxx-driver-v1.8/mongo -lmongoclient -lboost_filesystem -lboost_thread-mt -lboost_program_options -o main
